|
|
On 9 Aug 2002 15:09:09 -0400, ingo <ing### [at] homenl> wrote:
> It would be nice if a spline could also be accessed in the same
> way as an array.
I have finished small change to enable such feature in:
#declare S=spline{
-1.000000,0.000000*x
0.000000,0.118143*x
0.540084,0.620253*x
0.827004,0.210970*x
0.962025,0.194093*x
1.000000,0.286920*x
1.033755,0.468354*x
};
#local C=0;
#while (C<dimension_size(S))
#debug concat(str(S[C][0],0,-1),",<",vstr(3,S[C][1],",",0,-1),">\n")
#local C=C+1;
#end
Is this enough for you ? Should I add something or can create section in my
patch directory?
ABX
Post a reply to this message
|
|